/********************************************************/
/*	Copyright (C) 2016 Gong Li Bin		 	*/
/*	Project:	GlbRtbEng-1.0.0			*/
/*	Author:		gong_libin			*/
/*	Date:		2016_06_26			*/
/*	File:		GlbRtbMems.h			*/
/********************************************************/

#ifndef	_GLBRTBMEMS_H
#define	_GLBRTBMEMS_H

#include "GlbRtbDefs.h"
#include "GlbRtbReds.h"

#define	GLB_RM_ADVS			0

typedef struct tagGlbRmKv
{
	char* m_pszKey;
	char* m_pszVal;
}GLBRMKV_S;

void GlbRtbMemsShow();
GLBRDCON_P GlbRtbMemsOpen();
void GlbRtbMemsClose(GLBRDCON_P pstCon);
void GlbRtbMemsCleanAll(GLBRDCON_P pstCon);
int GlbRtbMemsCreate(GlbCls::CGlbSet& rCSet);
void GlbRtbMemsCleanDb(GLBRDCON_P pstCon, int iDb);
void GlbRtbMemsSelect(GLBRDCON_P pstCon, char* pszID, GLBRAINFO_S* pstInfo);

#endif /* _GLBRTBMEMS_H */
